package top.houry.im.client.controller;

import cn.hutool.core.lang.Singleton;
import top.houry.im.client.event.ImClientUiMainEvent;
import top.houry.im.ui.controller.ImUiMainController;

public class ImClientMainUiController {

    private static volatile ImUiMainController instance;

    private ImClientMainUiController() {
    }

    public static ImUiMainController getInstance() {
        if (instance == null) {
            synchronized (Singleton.class) {
                if (instance == null) {
                    instance = new ImUiMainController(new ImClientUiMainEvent());
                }
            }
        }
        return instance;
    }


}
